package com.mkb.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.mkb.entity.GraphUserDTO;

public interface GraphUserService {
    Boolean deleteById(Long id) throws Exception;

    Boolean deleteByGraphId(Long graphId) throws Exception;

    Boolean create(GraphUserDTO record)throws Exception;
    Boolean createBatch(List<GraphUserDTO> records)throws Exception;

    GraphUserDTO getById(Long id)throws Exception;

    Boolean update(GraphUserDTO record)throws Exception;

    PageInfo<GraphUserDTO> queryPage(GraphUserDTO graphUserDTO)throws Exception;

    List<GraphUserDTO> queryList(GraphUserDTO graphUserDTO)throws Exception;

    int count(Map<String, Object> map)throws Exception;
}